package com.atguigu.edustatistic.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Classname MemberClient
 * @Description TODO
 * @Date 2022/9/18 19:07
 * @Created by ZHL17
 */
@Component
@FeignClient(name="service-member",fallback=MemberClientImpl.class)
public interface MemberClient {
    @GetMapping("/edumember/member/countRegister/{day}")
    int countRegister(@PathVariable("day") String day);
}
